<?php

namespace apiend\modules\passport\controllers;

use Yii;
use apiend\components\Controller;
use apiend\modules\passport\models\SecurityDashboardLogic;

/**
 * 帐号密码找回功能
 * 
 * @author emhome <emhome@163.com>
 * @since 2.0
 */
class SecurityController extends Controller {

    /**
     * 安全中心
     * @return mixed
     */
    public function actionIndex() {
        /* @var $model SecurityDashboardLogic */
        $model = new SecurityDashboardLogic();
        return $model->toArray();
    }

}
